VERSION 5.00
Begin VB.Form Form1 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Example.Wall COM Client"
   ClientHeight    =   1800
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1800
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.Frame IUnknownFrame 
      Caption         =   "IUnknown"
      Height          =   735
      Left            =   120
      TabIndex        =   2
      Top             =   960
      Width           =   4455
      Begin VB.Label IUnknownLabel 
         ForeColor       =   &H00008000&
         Height          =   255
         Left            =   240
         TabIndex        =   3
         Top             =   360
         Width           =   3975
      End
   End
   Begin VB.Frame IDispatchFrame 
      Caption         =   "IDispatch"
      Height          =   735
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   4455
      Begin VB.Label IDispatchLabel 
         ForeColor       =   &H00008000&
         Height          =   255
         Left            =   240
         TabIndex        =   1
         Top             =   360
         Width           =   3975
      End
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
    IDispatchTest
    IUnknownTest
End Sub

Private Sub IDispatchTest()
    Dim obj As Example_Interop.Wall
    Set obj = CreateObject("Example.Wall")
    IDispatchLabel.Caption = obj.Echo("Succeeded")
End Sub

Private Sub IUnknownTest()
    Dim obj As Example_Interop.Wall
    Set obj = New Example_Interop.Wall
    IUnknownLabel.Caption = obj.Echo("Succeeded")
End Sub
